<template>
  <div>
    <HelloWorld v-if="name == 'HelloWorld'"></HelloWorld>
    <Home v-if="name == 'Home'"></Home>
    <InquiryForm v-if="name == 'InquiryForm'"></InquiryForm>
    <FaultDispatch v-if="name == 'FaultDispatch'"></FaultDispatch>
    <FaultInquiry v-if="name == 'FaultInquiry'"></FaultInquiry>
    <FaultReturnVisit v-if="name == 'FaultReturnVisit'"></FaultReturnVisit>
    <FaultOrder v-if="name == 'FaultOrder'"></FaultOrder>
    <Azd v-if="name == 'Azd'"></Azd>
    <WxAzd v-if="name == 'WxAzd'"></WxAzd>
    <WxGzd v-if="name == 'WxGzd'"></WxGzd>
    <xzwjWxInstall v-if="name == 'xzwjWxInstall'"></xzwjWxInstall>
    <InventoryInfo v-if="name == 'InventoryInfo'"></InventoryInfo>

    <User v-if="name == 'User'"></User>
    <WgManage v-if="name == 'WgManage'"></WgManage>
    <Role v-if="name == 'Role'"></Role>
    <RoleMenu v-if="name == 'RoleMenu'"></RoleMenu>
    <BuyerInfo v-if="name == 'BuyerInfo'"></BuyerInfo>
      <MaterialsInfo v-if="name == 'MaterialsInfo'"></MaterialsInfo>
        <MaterialExamine v-if="name == 'MaterialExamine'"></MaterialExamine>
      <MaterialDetailed v-if="name == 'MaterialDetailed'"></MaterialDetailed>

        <ToolGet v-if="name == 'ToolGet'"></ToolGet>
      <ToolRollback v-if="name == 'ToolRollback'"></ToolRollback>
        <ToolReport v-if="name == 'ToolReport'"></ToolReport>
      <ToolExamine v-if="name == 'ToolExamine'"></ToolExamine>
  </div>
</template>

<script>
import HelloWorld from './HelloWorld'
import Home from './Home'
import InquiryForm from './InquiryForm'
import FaultDispatch from './FaultDispatch'
import FaultInquiry from './FaultInquiry'
import FaultReturnVisit from './FaultReturnVisit'
import FaultOrder from './FaultOrder'
import Azd from './Azd'
import WxAzd from './WxAzd'
import WxGzd from './WxGzd'
import xzwjWxInstall from './xzwjWxInstall'
import InventoryInfo from './InventoryInfo'

import User from './User'
import WgManage from './WgManage'
import Role from './Role'
import RoleMenu from './RoleMenu'
import BuyerInfo from './BuyerInfo'
import MaterialsInfo from './MaterialsInfo'
import MaterialExamine from './MaterialExamine'
import MaterialDetailed from './MaterialDetailed'
import ToolGet from './ToolGet'
import ToolRollback from './ToolRollback'
import ToolReport from './ToolReport'
import ToolExamine from './ToolExamine'
export default {
  name: 'BaseHtml',
  props: {
    options: Object,
    name: String
  },
  components: {
    HelloWorld,
    Home,               //  首页
    InquiryForm,        //  咨询单
    FaultDispatch,      //  故障派单
    FaultInquiry,       //  故障查询处理
    FaultReturnVisit,   //  故障回访
    FaultOrder,         //  故障分单
    Azd,                //  安装单 
    WxAzd,              //  微信安装单 
    WxGzd,              //  微信故障单 
    xzwjWxInstall,      //  demo 微信安装单
    InventoryInfo,      //库存信息

    User,               //  用户管理 
    WgManage,           //  用户管理 
    Role,               //  角色管理 
    RoleMenu,           //  角色菜单管理 
    BuyerInfo,           //采购信息
    MaterialsInfo,       //材料信息 
    MaterialExamine,       //材料查看
    MaterialDetailed,      //个人材料详细   
    ToolGet,               //工具领取
    ToolRollback,          //工具回退
     ToolReport,            //工具报备
    ToolExamine,          //工具查看
  },
  data () {
    return {

    }
  },
  activated(){

  }
}
</script>
